package com.qfedu.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * "我的"页面需要的用户信息
 */
@Data
public class UserVO {
    private Integer id;
    private String username;
    private String phone;
    private String avatar;
    private String gender;
    /**
     * 登录用户的登陆状态
     * 1 已签到
     * 0 未签到
     */
    private Integer signFlag;

    private String realName;
    private String cardNo;
    private String email;
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "Asia/HongKong")
    private Date birthday;

}
